﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" Inherits="Dang_Nhap" Codebehind="Dang-Nhap.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
    .button {
            background:none;
	        font:inherit;
	        color:inherit;
	        cursor:pointer;
        }
    .auto-style1 {
        width:200px;
        height:20px;
    }
    .auto-style2 {
        width:50px;
        height:20px;
        float:left;
    }
    .auto-style4 {
        width:250px;
        height:100%;
        margin:2px 2px 2px 2px;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <section id="content" class="clearfix">
        <section id="page">
            <div id="pg-content" class="clearfix">
                <div id="content-title">
                    <font size="15px">
                        Đăng nhập tài khoản
                    </font>
                </div>
                <br />
                <center>
                    <table border="0">
                        <tr>
                            <td class="auto-style1">
                                <p class="contact-form-sender">
                                    <asp:TextBox ID="txtUserName" runat="server" placeholder="Tên đăng nhập" />
                                </p>
                            </td>
                            <td class="auto-style2">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
                                    runat="server" Font-Size="20px" ForeColor="#68C6D1" ControlToValidate="txtUserName" Text="(*)" ValidationGroup="dangnhap"/>
                            </td>
                        </tr>
                        <tr>
                            <td class="auto-style1">
                                <p class="contact-form-sender">
                                    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" placeholder="Mật khẩu" />
                                </p>
                            </td>
                            <td class="auto-style2">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" 
                                    runat="server" Font-Size="20px" ForeColor="#68C6D1" 
                                    ControlToValidate="txtPassword" Text="(*)" ValidationGroup="dangnhap"/>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="ckRemberLogin" Font-Size="15px" runat="server" Text=" Ghi nhớ đăng nhập"/>
                                <br /><br />
                                <span class="button-met dark">
                                    <asp:Button ID="btnLogin" 
                                        CssClass="button" Text="Đăng nhập" 
                                        runat="server" BorderWidth="0px" OnClick="btnLogin_Click" ValidationGroup="dangnhap"/>
                                </span>
                                <span class="button-met dark">
                                    <asp:LinkButton ID="btnSignUp" 
                                        CssClass="button" Text="Đăng ký" 
                                        runat="server" BorderWidth="0px" PostBackUrl="~/Dang-Ky.aspx" CausesValidation="False" ValidationGroup="dangnhap"/>
                                </span>
                                <asp:Label ID="lblThongBao" Font-Size="18px" ForeColor="#68C6D1"  runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td>

                            </td>
                        </tr>
                    </table>
                </center>
            </div>
        </section>

        <section id="sidebar">
            <div id="search" class="widget">
                <asp:TextBox ID="txtsearch" CssClass="search-field placeholder" name="sitesearch" placeholder="Tìm kiếm" runat="server" ValidationGroup="timkiem" />
                <asp:Button ID="btnSearch" runat="server" BorderWidth="0px" type="submit" CssClass="search-submit" value=" " OnClick="btnSearch_Click" CausesValidation="false" ValidationGroup="timkiem" />
            </div>

            <div id="twitter" class="widget">
                <h5>Giỏ Hàng</h5>
                <table id="tweeter">
                    <tr>
                        <td align="left">
                            <img  src="Image/Giohang.gif"  /></td>
                        <td align="left">
                            &nbsp;<asp:HyperLink ID="HyperLink1" runat="server" ForeColor="Red" NavigateUrl="~/Gio-Hang.aspx" Text="Giỏ hàng của bạn"/>
                        </td>
                    </tr>
                    <tr>
                        <td align="left">
                            <img src="Image/Sotien.gif"  /></td>
                        <td align="left">
                            &nbsp;<asp:Label ID="lbSelected" runat="server" ForeColor="Red"></asp:Label></td>
                    </tr>
                </table>
            </div>

            <div id="recent-box" class="widget">
                <h5>Quảng Cáo</h5>
                    <ul class="articles-widget">
                    <li>
	                    <a href="http://error404.000webhost.com/?">
	                    <img src="../Image/images/articles/article1_med.jpg" alt="Article 1" />
                        <div class="title">Giảm giá cực sốc <br><span class="redtxt">Laptop chỉ có 5 triệu</span></div>
                        <div class="more"></div>
                        </a>
                    </li>
                    <li>
	                    <a href="http://error404.000webhost.com/?">
	                    <img src="../Image/images/articles/article2_med.jpg" alt="Article 2" />
                        <div class="title">Tặng phẩm sốc<br><span class="limetxt">USB 8GB Ram 2GB</span></div>
                        <div class="more"></div>
                        </a>
                    </li>
                    <li>
	                    <a href="http://error404.000webhost.com/?">
	                    <img src="../Image/images/articles/article3_med.jpg" alt="Article 3" />
                        <div class="title">Phiếu quà tặng<br><span class="tealtxt">Tiết kiệm hơn 15 triệu</span></div>
                        <div class="more"></div>
                        </a>
                    </li>
                    </ul>
            </div>
        </section>
    </section>
</asp:Content>

